package cn.kpi.dao.sys;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.kpi.common.persistence.MyBatisDao;
import cn.kpi.entity.sys.OrgEntity;

@MyBatisDao
public interface OrgDao {
public void InsertEntity(Map<String, Object> map) throws Exception;
public List<OrgEntity> GetOrgList()throws Exception;
public void DeleteEntity(Map<String, Object> map) throws Exception;
public OrgEntity GetOrgById(Long orgid)throws Exception;
public OrgEntity GetOrgByName(String orgName)throws Exception;
public List<OrgEntity> GetOrgListByWhere(@Param("where")String where)throws Exception;
public int UpdateEntity(OrgEntity entity)throws Exception;
}
